<form class="layui-form layui-form-pane" lay-filter="FormSysModelEdit" action="/sys/model/edit">
    <input type="hidden" id="id" name="id" th:th:value="${entity.id}">
    <div class="layui-row p-l-sm m-b-xl">
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input-detail('text','所属系统','layui-col-md12',${sysSystem.systemName})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','模块编号(*)','modelCode','layui-col-md6',50,'required',${entity.modelCode})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','模块名称(*)','modelName','layui-col-md6',50,'required',${entity.modelName})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','模块排序(*)','modelSort','layui-col-md6',3,'required|number',${entity.modelSort})"></div>
        </div>
        <div class="hr-line-dashed m-r m-t"></div>
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input('text','模块样式','modelStyle','layui-col-md6',32,'',${entity.modelStyle})"></div>
            <div th:replace="common/plugin :: pa-form-input('text','模块备注','modelDesc','layui-col-md6',32,'',${entity.modelDesc})"></div>
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        let form = layui.form;
        form.render();
    });
</script>